package com.ruoyi.fly.service;


import com.ruoyi.common.core.domain.R;
import com.ruoyi.fly.domain.AppletMember;
import com.ruoyi.fly.domain.CeresMember;
import com.ruoyi.fly.domain.Recommender;
import com.ruoyi.fly.domain.vo.AppletMemberSearchVo;
import com.ruoyi.fly.domain.vo.AppletMemberVo;
import com.ruoyi.fly.domain.vo.CeresMemberVo;
import com.ruoyi.fly.domain.vo.RecommenderVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AppletMemberService {
    /**
     * 查询商城会员信息
     *
     * @param id 商城会员信息主键
     * @return 商城会员信息
     */
    public CeresMember selectAppletMemberById(String id);

    /**
     * 查询推荐人信息
     * @param recommenderVo
     * @return
     */
    R selectRecommentderList(RecommenderVo recommenderVo);

    /**
     * 查询商城会员信息列表
     *
     * @param appletMember 商城会员信息
     * @return 商城会员信息集合
     */
    public List<CeresMember> selectAppletMemberList(AppletMemberSearchVo appletMember);

   List<CeresMemberVo> selectAppletMemberList1(AppletMemberSearchVo appletMember);

//    /**
//     * 新增商城会员信息
//     *
//     * @param appletMember 商城会员信息
//     * @return 结果
//     */
//    public int insertAppletMember(AppletMember appletMember);

    /**
     * 修改商城会员信息
     *
     * @param appletMember 商城会员信息
     * @return 结果
     */
    public R updateAppletMember(AppletMember appletMember);


    /**
     * 删除商城会员信息信息
     *
     * @param id 商城会员信息主键
     * @return 结果
     */
    public R deleteAppletMemberById(String id);

    /**
     * 批量删除商城会员信息信息
     *
     * @param ids 商城会员信息主键
     * @return 结果
     */
    public R deleteAppletMemberByIds(String[] ids);
}
